#! python3
# -*- coding: utf-8 -
'''
Created on 2017年05月10日
@author: zxyong 13738196011
'''

from com.zxy.common.Com_Fun import Com_Fun
from com.plugins.A01_IHGDW0 import A01_Para
import datetime
class monitor_data_model(object):
    main_id = -1
    station_code = ""
    get_time = None
    val_01 = ""
    val_02 = ""
    val_03 = ""
    val_04 = ""
    val_05 = ""
    val_06 = ""
    val_07 = ""
    val_08 = ""
    val_09 = ""
    val_10 = ""
    val_11 = ""
    val_12 = ""
    val_13 = ""
    val_14 = ""
    val_15 = ""
    val_16 = ""
    val_17 = ""
    val_18 = ""
    val_19 = ""
    val_20 = ""
    val_21 = ""
    val_22 = ""
    val_23 = ""
    val_24 = ""
    val_25 = ""
    val_26 = ""
    val_27 = ""
    val_28 = ""
    val_29 = ""
    val_30 = ""
    val_31 = ""
    val_32 = ""
    val_33 = ""
    val_34 = ""
    val_35 = ""
    val_36 = ""
    val_37 = ""
    val_38 = ""
    val_39 = ""
    val_40 = ""
    val_01_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_02_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_03_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_04_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_05_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_06_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_07_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_08_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_09_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_10_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_11_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_12_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_13_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_14_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_15_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_16_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_17_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_18_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_19_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_20_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_21_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_22_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_23_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_24_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_25_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_26_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_27_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_28_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_29_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_30_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_31_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_32_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_33_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_34_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_35_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_36_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_37_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_38_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_39_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    val_40_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
    update_time = None
    m_flag = 0
    m_flag1 = 0
    m_flag2 = 0
    m_flag3 = 0
    m_flag4 = 0
    m_flag5 = 0
    m_flag6 = 0
    m_flag7 = 0
    m_flag8 = 0
    m_flag9 = 0
    m_flag10 = 0
    def __init__(self):
        self.get_time = Com_Fun.GetTimeNum(Com_Fun.GetTime("%Y-%m-%d %H:%M:%S"))
        self.update_time = Com_Fun.GetTime("%Y-%m-%d %H:%M:%S")  
        self.station_code = Com_Fun.GetHashTable(A01_Para.ht_t_param_value, "station_code") 
        self.clear_value()
    def clear_value(self):
        self.val_01 = ""
        self.val_02 = ""
        self.val_03 = ""
        self.val_04 = ""
        self.val_05 = ""
        self.val_06 = ""
        self.val_07 = ""
        self.val_08 = ""
        self.val_09 = ""
        self.val_10 = ""
        self.val_11 = ""
        self.val_12 = ""
        self.val_13 = ""
        self.val_14 = ""
        self.val_15 = ""
        self.val_16 = ""
        self.val_17 = ""
        self.val_18 = ""
        self.val_19 = ""
        self.val_20 = ""
        self.val_21 = ""
        self.val_22 = ""
        self.val_23 = ""
        self.val_24 = ""
        self.val_25 = ""
        self.val_26 = ""
        self.val_27 = ""
        self.val_28 = ""
        self.val_29 = ""
        self.val_30 = ""
        self.val_31 = ""
        self.val_32 = ""
        self.val_33 = ""
        self.val_34 = ""
        self.val_35 = ""
        self.val_36 = ""
        self.val_37 = ""
        self.val_38 = ""
        self.val_39 = ""
        self.val_40 = ""
        self.val_01_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_02_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_03_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_04_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_05_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_06_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_07_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_08_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_09_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_10_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_11_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_12_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_13_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_14_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_15_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_16_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_17_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_18_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_19_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_20_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_21_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_22_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_23_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_24_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_25_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_26_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_27_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_28_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_29_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_30_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_31_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_32_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_33_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_34_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_35_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_36_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_37_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_38_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_39_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.val_40_ary = [0,0,0,0,0,0,0,0,0,0,0,0]
        self.m_flag = 0
        self.m_flag1 = 0
        self.m_flag2 = 0
        self.m_flag3 = 0
        self.m_flag4 = 0
        self.m_flag5 = 0
        self.m_flag6 = 0
        self.m_flag7 = 0
        self.m_flag8 = 0
        self.m_flag9 = 0
        self.m_flag10 = 0       